\documentclass[winfonts]{ctexrep}
\usepackage{indentfirst} 
\usepackage{fontspec}
\usepackage{titlesec}
\usepackage{xeCJK}
\usepackage{graphicx}
\usepackage{hyperref}
\usepackage{ifthen}
\usepackage{color,fancyvrb}
\usepackage{listings}
\usepackage{syntonly}
\usepackage{makeidx}

\usepackage{tikz}
\usetikzlibrary{calc}
\usetikzlibrary{fit}
\usetikzlibrary{positioning}
\usepgflibrary{plotmarks}

\usetikzlibrary{shapes.geometric}

\CustomVerbatimEnvironment{shellcmd}{Verbatim}
{frame=single,rulecolor=\color{blue},framerule=3pt,framesep=1pc,fillcolor=\color{yellow}}

\newcommand{\bookname}{技术笔记}

\title{\sffamily \bookname}
\author{李明哲}
\date{\today}
\setcounter{tocdepth}{1}

\begin{document}

\maketitle
\addcontentsline{toc}{part}{目录}
\tableofcontents
\listoffigures
\listoftables

\part{基础知识}
\chapter{硬件}
\include{Chap-Hardwares}
\chapter{系统软件}
\include{Chap-SystemPlatforms}
\chapter{网络基础}
\include{Chap-NetworkBasics}
\chapter{数据库系统}
\input{Chap-DataBases}

\part{系统操作}
\chapter{Linux Desktop}
\input{Chap-LinuxDesktop}
\chapter{RSPE相关操作}
\input{Chap-RSPE}
\chapter{Linux服务器}
\input{Chap-LinuxServer}

\part{桌面应用操作}

\chapter{文档编辑}
\input{Chap-LatexSkills}
\chapter{编程工具}
\include{Chap-CodingTools}
\chapter{其他桌面工具和技巧}
\include{Chap-GeneralDesktop}

\part{计算机程序设计}
\chapter{编程方法杂谈}
\include{Chap-ProgramMethod}
\chapter{Shell编程}
\include{Chap-ShellPrograms}
\chapter{C编程}
\include{Chap-CProgram}
\chapter{Python编程}
\include{Chap-Python}
\chapter{算法}
\include{Chap-Algorithm}

\include{thebib}

\end{document}

